package cyx.example.ddd.infrastructure.order.repository;

import cyx.example.ddd.infrastructure.order.entity.OrderDO;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 订单JPA仓储接口
 */
public interface OrderJpaRepository extends JpaRepository<OrderDO, String> {
    List<OrderDO> findByUserId(String userId);
}